﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using SolrExample.Interface.DomainObject;

namespace SolrExample.Data
{
    internal partial class JobAd:IJobAd, IIndexRecord
    {
        public long Id {
            get { return this.adsID; }
        }

        public DateTime LastModifiedDate {
            get { return this.LastModifiedDate; }
        }

        public bool IsSearchableRecord
        {
            get { return this.jobAdStatus == 'A'; }
        }
    }
}
